<head>
  <title>Test if it doesn't crash when pseudo element has animation with rems unit</title>
  <script src="../../resources/testharness.js"></script>
  <script src="../../resources/testharnessreport.js"></script>
  <script>
  setup({single_test: true});
  done();
  </script>
  <style>
  @-webkit-keyframes anim {
    42% {
      -webkit-border-horizontal-spacing: 42rem;
    }
  }
  body::first-letter {
    -webkit-animation-name: anim;
  }
  </style>
</head>
